#-*-encoding=utf-8-*-
name=u'delivery'
title=u'文档分发'
description=u'文档的分发表'
fields=(
    ReferenceField(
        description=u'需要分发的文档的编号',
        title=u'文档编号',
        default_value_exp=u'[]',
        name=u'doc'
),
    TextField(
        rows=5,
        title=u'说明',
        cols=10,
        write_condition=u'',
        default_value_exp=u'""',
        name=u'description'
),
    PersonSelectField(
        description=u'哪些人需要接收文档',
        title=u'文档接受人',
        multiple_selection=True,
        selectable_object='persononly',
        default_value_exp=u'[]',
        name=u'recipients'
),
    DateField(
        minutestep=5,
        description=u'具体到什么时间分发',
        title=u'分发时间',
        showtime=False,
        default_value_exp=u'datetime.datetime.today() + datetime.timedelta(7)',
        name=u'start'
),)

fields_validation_script=ur""""""
